package com.lemon.cloud.minio;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author HuangDS
 */
@ConfigurationProperties(prefix = "oss")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OssProperties {
    private boolean enable = true;
    private String endpoint;
    private String customDomain;
    private Boolean pathStyleAccess = true;
    private String region;
    private String accessKey;
    private String secretKey;
    private String bucketName;
    private Integer preSignUrlExpire = 10 * 60 * 1000;
}
